package com.yan.common.mapper;

import com.yan.utils.FileDO;
import org.mapstruct.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface FileMapper {

    FileDO get(Long id);

    List<FileDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int save(FileDO file);

    int update(FileDO file);

    int remove(Long id);

    int batchRemove(Long[] ids);
}
